//
//  AppDelegate+OpenInstall.h
//  BaseProject
//
//  Created by 王盼盼 on 2024/9/10.
//  Copyright © 2024 wangpanpan. All rights reserved.
//

#import "AppDelegate.h"
#import <libOpenInstallSDK/OpenInstallSDK.h>
NS_ASSUME_NONNULL_BEGIN

@interface AppDelegate (OpenInstall) <OpenInstallDelegate>

/// 初始化
- (void)initOpenInstall;

/// 处理通过openinstall一键拉起App时传递的数据
/// - Parameter userActivity: 存储了页面信息，包括url
- (BOOL)application_appInstall:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler;

/// 处理 URI schemes
- (BOOL)application_appInstall:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options;
@end

NS_ASSUME_NONNULL_END
